package com.robert.demo.common.service;

/**
 * IResultValidator:
 *
 * @author zhaoshengtao
 * @date 2024/03/20
 */
public interface IResultValidator {
    /**
     * @param result 需要鉴权的数据
     * @param userId 当前用户ID
     * @return 鉴权结果
     */
    boolean execute(Object result, Integer userId);

}
